# 这是一个示例 Python 脚本。
from my_package.buy_ticket import buy_ticket_fast
from my_package.gang_pk import gang_fight_pk
from my_package.ring_pk_fast import main_pk_vip
#from my_package.ring_pk import test_img_path
from my_package.screen_utils import return_default_screen, main

import pygetwindow as gw

from my_package.time_utils import wait_until_target_time
from my_package.xqol_utils import get_game_window, get_game_windows
from xqol_pk.xqol_pk_100 import pk_100


# 按 Shift+F10 执行或将其替换为您的代码。
# 按 双击 Shift 在所有地方搜索类、文件、工具窗口、操作和设置。

# 访问 https://www.jetbrains.com/help/pycharm/ 获取 PyCharm 帮助

def print_hi(name):
    # 在下面的代码行中使用断点来调试脚本。
    print(f'Hi, {name}')  # 按 Ctrl+F8 切换断点。


# 按装订区域中的绿色按钮以运行脚本。
if __name__ == '__main__':

    print("hello world")

    #windows = get_game_windows(["hujun6", "hujun8", "hujun9", "hujun20", "hujun21", "hujun22"])
    buy_ticket_fast(windows=None, quantity=40, delay=1)




    # 100擂台
    #buy_ticket_fast(windows=None, quantity=40, delay=3)
    #pk_100(num=45, buy_ticket=False, sign_up=True, pk=False)
    #pk_100(num=45, buy_ticket=False, sign_up=False, pk=True)

    #main_pk_vip(["A6276", "A6898", "A6674", "A7922"], ["xqolxz1", "xqolxz2", "xqolxz3", "xqolxz4", "xqolxz5", "xqolxz6", ""], buy_ticket=False, num=1)


    # 94级擂台
    #main_pk_vip(["xqolhm30", "xqolhm30", "xqolhm29", ], ["xqolhm27", "A8353", "A6874"], 5)

    # 88级擂台
    # wait_until_target_time()
    #main_pk_vip(["B10661", "B11814", "xqolhm15", "xqolhm16"], ["hujun5"], 40, send_email=True)

    #wait_until_target_time()
    #main_pk_vip([ "B11620", "B11814", "B10469", "B10661", "xqolhm15", "xqolhm16" ], ["hujun5"], 40)


